<?php
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.cake.libs.view.templates.layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  dir="ltr" lang="vi"><!-- Source is http://qnuitclub.wordpress.com/wp-admin/edit.php -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>
		<?php __('Project Express 2011 - '); ?>
		<?php echo $title_for_layout; ?>
	</title>
	<?php echo $this->Html->script(array('jscalendar/jscal2', 'jscalendar/lang/en')); ?>
    <?php echo $html->css('jscalendar/jscal2', 'stylesheet')."\n"; ?>
    <?php echo $html->css('jscalendar/border-radius', 'stylesheet')."\n"; ?>
    <?php echo $html->css('jscalendar/steel/steel', 'stylesheet')."\n"; ?> 
	<?php 
		//Load Css
		echo $this->Html->css('cake.generic'); //ok
		echo $this->Html->css('wpcom');// ok
		echo $this->Html->css('akismet');//ok
		echo $this->Html->css('colors-fresh'); //test
		echo $this->Html->css('colors-fresh-wpcom');//ok
		echo $this->Html->css('dashboard');
		echo $this->Html->css('admin-bar-css');//ok
		echo $this->Html->css('global');//ok
		echo $this->Html->css('hovercard');
		echo $this->Html->css('ie');
		echo $this->Html->css('ms');
		echo $this->Html->css('panels');
		echo $this->Html->css('services');
		echo $this->Html->css('thickbox');//ok
		echo $this->Html->css('wp-admin');//ok
		echo $this->Html->css('fix_pro');
		echo $this->Html->css('debug_toolbar');
		echo $scripts_for_layout;
		
	//Load js
		echo $this->Html->script('core_js/l10n');
		echo $this->Html->script('core_js/jquery');
		echo $this->Html->script('core_js/utils');
		echo $this->Html->script('core_js/blog-switch');
		echo $this->Html->script('core_js/akismet');
		echo $this->Html->script('core_js/feedback');
		echo $this->Html->script('js_debug_toolbar');
		echo $this->Html->script('jquery.min');
	//	echo $this->Html->script('jquery.validate.min');
			echo $this->Html->script('jquery.validate');
		
		
	?>


<script type="text/javascript">
//<![CDATA[

addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
var userSettings = {
		'url': '/',
		'uid': '10001166',
		'time':'1301686739'
	},
	ajaxurl = 'http://qnuitclub.wordpress.com/wp-admin/admin-ajax.php',
	pagenow = 'edit-post',
	typenow = 'post',
	adminpage = 'edit-php',
	thousandsSeparator = ' ',
	decimalPoint = ',',
	isRtl = 0;
//]]>
</script>

<!--[if lte IE 7]>
<link rel='stylesheet' id='ie-css'  href='img/ie.css' type='text/css' media='all' />
<![endif]-->

<script type="text/javascript">
if (window.top !== window.self) {
    window.top.location.href = window.self.location.href; }
</script>
<!--[if IE 6]><style type="text/css">#wpcombar, #wpcombar .menupop a span, #wpcombar .menupop ul li a:hover, #wpcombar .myaccount a, .quicklinks a:hover,#wpcombar .menupop:hover { background-image: none !important; } #wpcombar .myaccount a { margin-left:0 !important; padding-left:12px !important;}</style><![endif]-->
<style type="text/css" media="print">#wpcombar { display:none; }</style>
<link rel="shortcut icon" type="<?php echo $this->webroot;?>img/x-icon" href="img/favicon.ico" sizes="16x16" />
<link rel="icon" type="image/x-icon" href="<?php echo $this->webroot;?>img/favicon.ico" sizes="16x16" />
<link rel="apple-touch-icon" href="<?php echo $this->webroot;?>img/favicon.ico" />
<style type="text/css">
	div.typekit_box_one {border: 1px solid #ccc; width: 260px; float: left; clear: left; padding: 0 20px; margin-right: 25px; height: 220px;}
	div.typelkit_box_two {border: 1px solid #ccc; width: 260px; float: left; padding: 0 20px; height: 220px; }
</style>
<script src="<?php echo $this->webroot;?>core_js/panels.js" type="text/javascript" charset="utf-8"></script>
<script type='text/javascript'>
	var syntaxHLcodes = 'sourcecode|source|code';
</script>
<body class="wp-admin no-js  edit-php">
<script type="text/javascript">
//<![CDATA[
(function(){
var c = document.body.className;
c = c.replace(/no-js/, 'js');
document.body.className = c;
})();
//]]>
</script>

<div id="wpwrap">
<div id="wpcontent"> 
<div id="wphead">
<img id="header-logo" src="<?php echo $this->webroot;?>img/blank.gif" alt="" width="32" height="32" />
<h1 id="site-heading" >
	<a href="<?php echo $this->webroot; ?>" title="Xem trang chủ">
		<span id="site-title">QUẢN LÝ ĐĂNG KÝ ĐỀ TÀI TỐT NGHIỆP</span>
	</a>
</h1>
<div id="wphead-info">
<div id="user_info">
<?php
		$info_user = 'Guest';
		$info_user_id = '';
	if(isset($loginIn)){
		$info_user = $loginIn['User']['name'];
		$info_user_id = 'users/view/'.$loginIn['User']['id'];
	}
?>
<?php if(!empty($loginIn)){ ;?>
<p>Tài khoản :&nbsp;<a href="<?php echo $this->webroot.$info_user_id;?>" title="Chỉnh sửa hồ sơ của <?php __($info_user);?>"><?php __($info_user);?></a> | <a href="<?php echo $this->webroot; ?>users/logout" title="Đăng xuất">Đăng xuất</a></p>
<?php } else {; ?>
<p>Xin chào :&nbsp;<a href="<?php echo $this->webroot;?>" title="Xin chào Guest">Khách</a> | <a href="<?php echo $this->webroot; ?>users/login" title="Đăng xuất">Đăng nhập</a></p>
<?php };?>
</div>
<!--
<div id="favorite-actions">
	<div id="favorite-first"><a href="post-new.php?post_type=post">Bài viết mới</a></div><div id="favorite-toggle"><br /></div><div id="favorite-inside"><div class='favorite-action'><a href='post-new.php'>Bài viết mới</a></div>
	<div class='favorite-action'><a href='edit.php?post_status=draft'>Bản nháp</a></div>
	<div class='favorite-action'><a href='post-new.php?post_type=page'>Trang mới</a></div>
	<div class='favorite-action'><a href='media-new.php'>Tải lên</a></div>
	<div class='favorite-action'><a href='edit-comments.php'>Phản hồi</a></div>
	</div>
</div>
-->
</div>
</div>
<!--begin add body--->
<div id="wpbody">
<?php echo $this->element('menu-left');?>
<div id="wpbody-content">
	
		<?php echo $content_for_layout;?>
		
	<div class="clear"></div>
</div><!-- wpbody-content -->

<div class="clear"></div>
</div><!-- wpbody-->
<!--end add body--->
</div><!-- wpcontent -->

<div id="footer">
<p id="footer-left" class="alignleft"><span id="footer-thankyou">Khoa công nghệ thông tin ĐH BK Đà Nẵng<a href="<?php $this->webroot;?>"> Trang chủ</a> </span> | <a href="<?php $this->webroot;?>">Hỗ trợ</a> | <a href="http://itfdanang.com">Diễn đàn</a></p>
<p id="footer-upgrade" class="alignright"></p>
<div class="clear"></div>
</div>
<?php  echo $this->element('wpcombar'); ?>	
</body>
</html>
